﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace data.jianvgroup.com.Entity
{
    /// <summary>
    /// 新闻，公告
    /// </summary>
    [Table("News")]
   public class News: BaseModel
    {
        [Key]
        public int SysId { get; set; }

        /// <summary>
        /// 标题名称
        /// </summary>
        [MaxLength(50)]
        public string TitleName { get; set; }

        /// <summary>
        /// 新闻公告内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 上线-0，下线-1
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(255)]
        public string Remark { get; set; }
    }
}
